/*
 * Copyright © 2024-2025 Wenze Wei
 *
 * This file is part of StadionOS.
 *
 * This Source Code Form is subject to the terms of the GNU General Public License, v. 2.0.
 * You can obtain a copy of the GPL at
 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 */

#include "../include/lpi.h"

char global_usr[256] = {0};

/**
 * @brief Retrieves the user configuration.
 *
 * This function retrieves the user configuration by reading from the CONFIG_USR file.
 * It uses Srinc to perform the read operation and returns a pointer to the global user configuration string.
 * FOR SYSTEM COMPONENTS ONLY: This function is critical and should only be used by system components.
 *
 * @return char* Pointer to the user configuration string, or NULL on error.
 */
char* Sgusr() {
    //if (Srcof(CONFIG_USR, "usr", global_usr) == 0)
        //return global_usr;

    return NULL;
}
